﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    CodeFile="AddAccount.aspx.cs" Inherits="Admin_AddAccount" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <div id="page-heading">
        <h1>
            Add Account</h1>
    </div>
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
        <tr>
            <th rowspan="3" class="sized">
                <img src="images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
            <th class="topleft">
            </th>
            <td id="tbl-border-top">
                &nbsp;</td>
            <th class="topright">
            </th>
            <th rowspan="3" class="sized">
                <img src="images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
        </tr>
        <tr>
            <td id="tbl-border-left">
            </td>
            <td>
                <!--  start content-table-inner -->
                <div id="content-table-inner">
                    <table border="0" width="100%" cellpadding="0" cellspacing="0">
                        <tr valign="top">
                            <td>
                                <!--  start step-holder -->
                                
                                <!--  end step-holder -->
                                <!-- start id-form -->
                                <table border="0" cellpadding="0" cellspacing="0" id="id-form">
                                    <tr>
                                        <th valign="top">
                                            Login Name:</th>
                                        <td>
                                            <input type="text" class="inp-form" id="txtUserName" runat="server" /></td>
                                        <td>
                                        <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtUserName" ErrorMessage="<div class='error-left'></div> <div class='error-inner'><span style='color: White;'> Login Name is not empty</span></div>"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Password:</th>
                                        <td>
                                            <input type="password" class="inp-form" id="txtPassword" runat="server" /></td>
                                        <td>
                                         <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPassword" ErrorMessage="<div class='error-left'></div> <div class='error-inner'><span style='color: White;'> Password is not empty</span></div>"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Confirm Password:</th>
                                        <td>
                                            <input type="password" class="inp-form" id="txtRetypePassword" runat="server" /></td>
                                        <td>
                                        
                                                <asp:CompareValidator Display="Dynamic" ControlToValidate="txtRetypePassword" ControlToCompare="txtPassword"
                                                    ID="cpass" runat="server" ErrorMessage="<div class='error-left'></div> <div class='error-inner'>
                                                                                        <span style='color: White;'> Compare invalid password</span></div>"></asp:CompareValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Full Name:</th>
                                        <td>
                                            <input type="text" class="inp-form" id="txtFullName" runat="server" /></td>
                                        <td>
                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Email:</th>
                                        <td>
                                            <input type="text" class="inp-form" id="txtEmail" runat="server" />
                                        </td>
                                        <td>
                                         <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtEmail" ErrorMessage="<div class='error-left'></div> <div class='error-inner'><span style='color: White;'> Email address is not empty</span></div>"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="<div class='error-left'></div> <div class='error-inner'><span style='color: White;'>Invalid email address</span></div>"
                        ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Address:</th>
                                        <td>
                                            <input type="text" class="inp-form" id="txtAddress" runat="server" />
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top">
                                            Tel:</th>
                                        <td>
                                            <input type="text" class="inp-form" id="txtTel" runat="server" /></td>
                                        <td>
                                        </td>
                                    </tr>
                                    
                                    <tr>
                                        <th valign="top">
                                            Description:</th>
                                        <td>
                                            <textarea rows="3" id="txtDes" runat="server" cols="3" class="form-textarea"></textarea></td>
                                        <td>
                                        </td>
                                    </tr>
                                   
                                    <tr>
                                        <th>
                                            &nbsp;</th>
                                        <td valign="top">
                                         <asp:Button ID="btnsave" CssClass="form-submit"  Text="Save" runat="server" OnClick="btnsave_Click" CausesValidation="true"  />
 <asp:Button ID="btnexit" CssClass="form-reset"  Text="Reset" runat="server" OnClick="btnexit_Click" CausesValidation="False"
                       />
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <!-- end id-form  -->
                            </td>
                            
                        </tr>
                        <tr>
                            <td>
                                <img src="images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
                            <td>
                            </td>
                        </tr>
                    </table>
                    <div class="clear">
                    </div>
                </div>
                <!--  end content-table-inner  -->
            </td>
            <td id="tbl-border-right">
            </td>
        </tr>
        <tr>
            <th class="sized bottomleft">
            </th>
            <td id="tbl-border-bottom">
                &nbsp;</td>
            <th class="sized bottomright">
            </th>
        </tr>
    </table>
    <div class="clear">
        &nbsp;</div>
</asp:Content>
